<%@page import="models.Category"%>
<%
String strs = (String) request.getAttribute("strs");
String name = (String) request.getAttribute("name");
String title = name+" - Category";
String description="Domain same category "+name;
String keyword = "category,domain,show site info";

Category cate = (Category) request.getAttribute("cate");

%>
<%
	request.setCharacterEncoding("utf-8");
%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keyword %>"/>
</jsp:include>
        

<div class="bd">
		<div class="l">
			<div class="rib">
				<h1><%=name %></h1>
			</div>
			<div class="cont">
				<ul class="liss">
        			<%
        			if(cate!=null&&cate.getInLink().size()>0)
        			{
        				for(int i=0;i<cate.getInLink().size();i++)
        				{
        			%>
        					<li><a href="/sites/<%=cate.getInLink().get(i)%>"><%=cate.getInLink().get(i)%></a></li>
        			<%
        					if(i==100)
        						break;
        				}
        			}
        			%>
        		</ul>
			</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
		</div>
	</div>


 <jsp:include page="layout/footer.jsp"></jsp:include>           